import request from '@/utils/request'

// 获取线路配置详细信息
export function getRouteConfig(routeId) {
  return request({
    url: '/dispatch/routeConfig/' + routeId,
    method: 'get'
  })
}

// 修改线路配置详细信息
export function updateRouteConfig(query) {
  return request({
    url: '/dispatch/routeConfig',
    method: 'put',
    data: query
  })
}